package com.mrguo.entity.goods;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import javax.persistence.*;

/**
 * @ClassName Goodsdesc
 * @Description spu更多信息（大数据字段）
 * @author 郭成兴
 * @date 2019/11/13 1:59 PM
 * @updater 郭成兴
 * @updatedate 2019/11/13 1:59 PM
 */

@Data
@Table(name = "bsd_goods_desc")
public class GoodsDesc {
    /**
     * SPU_ID
     */
    @Id
    @JsonSerialize(using = ToStringSerializer.class)
    @Column(name = "goods_id")
    private Long goodsId;

    /**
     * 描述
     */
    private String introduction;

    /**
     * 规格结果集，所有规格，包含isSelected
     */
    @Column(name = "specification_items")
    private String specificationItems;

    /**
     * 自定义属性（参数结果）
     */
    @Column(name = "custom_attribute_items")
    private String customAttributeItems;

    @Column(name = "item_images")
    private String itemImages;

    /**
     * 包装列表
     */
    @Column(name = "package_list")
    private String packageList;

    /**
     * 售后服务
     */
    @Column(name = "sale_service")
    private String saleService;
}